package com.htudata.flow.mapper;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface FlowMapper {
  JSONArray getInternal3DFlowsInfo(JSONObject paramJSONObject);
  
  JSONArray selectFlowIdByUser(JSONObject paramJSONObject);
  
  JSONArray selectNodeIdByUser(JSONObject paramJSONObject);
  
  int updateEditStatus(@Param("flowId") String paramString, @Param("editStatus") int paramInt);
  
  JSONObject getFlowHealthStatis(@Param("flowId") String paramString);
  
  JSONObject getNodeHealthStatis(@Param("nodeId") String paramString);
  
  JSONArray getNodeLeaderBoard(@Param("flowId") String paramString1, @Param("year") int paramInt1, @Param("field") String paramString2, @Param("sort") String paramString3, @Param("page") int paramInt2, @Param("perPage") int paramInt3, @Param("userIds") List<Long> paramList);
  
  JSONArray getItemLeaderBoard(@Param("flowId") String paramString1, @Param("nodeId") String paramString2, @Param("year") int paramInt1, @Param("field") String paramString3, @Param("sort") String paramString4, @Param("page") int paramInt2, @Param("perPage") int paramInt3, @Param("userIds") List<Long> paramList);
}
